<!DOCTYPE html>
<html lang="zh">
	<head>
	<meta charset="UTF-8" /> 
	<link rel="stylesheet" href="https://lib.baomitu.com/amis/6.2.2/antd.min.css" />
	<link rel="stylesheet" href="https://lib.baomitu.com/amis/6.2.2/helper.min.css" />
	<script src="https://lib.baomitu.com/amis/6.2.2/sdk.min.js"></script>
	<style> html, body, .app-wrapper { position: relative; width: 100%; height: 100%; margin: 0; padding: 0; }  </style>
	</head>
	<body>
	<div id="root" class="app-wrapper"></div>
	
	<script type="text/javascript">
		(async function () {
		let amis = amisRequire('amis/embed');
		let amisJson = await getAmisJson(); 
		let amisScoped = amis.embed('#root', amisJson,{},{
			theme: 'antd',//https://github.com/baidu/amis/issues/2465
			copy: (content,{format}) => { amisCopy(content,format) },
		});
		})();
	</script>
	</body>
</html>